@import './common.less';
.index_page {
    .second_confirm_wrap {
        background: #fff;
    }
    ul.gift_send_pro {
        background: @theme_back_grey;
        li {
            float: left;
            width: 33.33%;
            text-align: center;
            color: #333;
            padding-top: 20*@base;
            font-size: 22*@base;
            position: relative;
            margin-bottom: 22*@base;
            border-bottom: @border_two_red;
            background: #fff;
            &.current_active {
                &:before {
                    content: "";
                    position: absolute;
                    bottom: -20*@base;
                    left: 50%;
                    margin-left: -10*@base;
                    border: 10*@base solid transparent;
                    border-top-color: @theme_red !important;
                    width: 0;
                    height: 0;
                }
                &:after {
                    content: "";
                    position: absolute;
                    bottom: -18*@base;
                    left: 50%;
                    margin-left: -10*@base;
                    border: 10*@base solid transparent;
                    border-top-color: #fff !important;
                    width: 0;
                    height: 0;
                }
            }
            &.active {
                color: @theme_red;
            }
            img {
                width: 52*@base;
                height: 52*@base;
            }
            p {
                height: 54*@base;
                line-height: 54*@base;
            }
        }
    }
    ul.gift_send_item {
        background: @theme_back_grey;
        padding-bottom: 18*@base;
        li {
            padding: 0 24*@base;
            width: 100%;
            height: 105*@base;
            .basic_flex_item;
            -webkit-justify-content: space-between;
            justify-content: space-between;
            font-size: 26*@base;
            color: #191919;
            background: #fff;
            &:first-child {
                border-bottom: @border_one_grey;
            }
            .num_wrap {
                font-size: 30*@base;
            }
            .icon_num_edit {
                img {
                    width: 52*@base;
                    height: 52*@base;
                }
            }
            .right_wrap {
                .basic_flex_item;
            }
            .num_wrap {
                width: 96*@base;
                text-align: center;
            }
        }
    }
    .gift_send_other {
        padding: 0 28*@base;
        background: #fff;
        p.title {
            font-size: 26*@base;
            height: 76*@base;
            line-height: 76*@base;
        }
        p.tip {
            font-size: 20*@base;
            line-height: 40*@base;
            color: #5D5D5D;
        }
        textarea {
            font-size: 24*@base;
            line-height: 34*@base;
            border: @border_one_red;
            padding: 20*@base;
            border-radius: 6*@base;
            height: 204*@base;
            min-height: 204*@base;
            max-height: 204*@base;
            width: 100%;
            min-width: 100%;
            max-width: 100%;
            margin-bottom: 20*@base;
        }
    }
    .gift_wrap {
        ul {
            padding: 0 26*@base;
            li {
                height: auto;
                overflow: hidden;
                padding: 26*@base 0;
                padding-left: 154*@base;
                border-bottom: @border_one_grey;
                .red_span {
                    color: @theme_red;
                    font-size: 30*@base;
                    .price_i {
                        font-style: normal;
                    }
                }
                .left_img {
                    float: left;
                    margin-left: -154*@base;
                }
                .img_wrap {
                    width: 126*@base;
                    height: 126*@base;
                    /*background-size: contain;
			        background-repeat: no-repeat;
			        background-position: center;
			        border: @border_one_grey;*/
                    border-radius: 4*@base;
                    .basic_flex_item;
                    img {
                        width: 100%;
                        height: auto;
                    }
                }
                .main_content {
                    .main_item {
                        .basic_flex_item;
                        -webkit-justify-content: space-between;
                        justify-content: space-between;
                    }
                    .top_item {
                        height: 70*@base;
                        font-size: 28*@base;
                    }
                    .bottom_item {
                        height: 54*@base;
                        font-size: 22*@base;
                        color: #656565;
                    }
                    .left_des {
                        width: 300*@base;
                        height: 54*@base;
                        line-height: 54*@base;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                    }
                    .ali {
                        font-size: 24*@base;
                        span {
                            color: @theme_red;
                            display: inline-block;
                            padding: 0 10*@base;
                            font-size: 28*@base;
                        }
                    }
                    .left_title {
                        width: 280*@base;
                        height: 70*@base;
                        line-height: 70*@base;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                    }
                }
            }
        }
    }
    .gift_share_wrap {
        padding: 37*@base;
        padding-top: 0.4rem;
        font-size: 28*@base;
        .gift_share_common {
            padding: 24*@base;
            padding-bottom: 60*@base;
            background: #fff;
            border: 2*@base solid #e6e6e6;
            border-radius: 6*@base;
        }
        .gift_share {
            margin-bottom: 20*@base;
        }
        .share_top {
            .basic_flex_item;
            img {
                width: 74*@base;
                height: 74*@base;
                border-radius: 6*@base;
                margin-right: 18*@base;
            }
        }
        .gift_img {
            width: 100%;
            img {
                width: 100%;
                height: auto;
            }
        }
        .gift_content {
            width: 100%;
            height: 296*@base;
            background-color: #fff;
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
            border: @border_one_grey;
            border-radius: 8*@base;
            position: relative;
            -webkit-box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.5);
            -moz-box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.5);
            box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.5);
            div {
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
                height: 76*@base;
                line-height: 76*@base;
                color: #fff;
                padding-left: 22*@base;
                letter-spacing: 0.05em;
                border-bottom-left-radius: 8*@base;
                border-bottom-right-radius: 8*@base;
                background: rgba(190, 1, 14, 0.7)
            }
        }
        .gift_words {
            .basic_flex_item;
            margin-top: 50*@base;
            -webkit-align-items: flex-start;
            align-items: flex-start;
            font-size: 24*@base;
            line-height: 34*@base;
            color: #494949;
            .right_wrap {
                width: 174*@base;
                -webkit-flex-shrink: 0;
                flex-shrink: 0;
                text-align: right;
                img {
                    width: 140*@base;
                    height: 140*@base;
                }
                p {
                    color: @theme_red;
                }
            }
        }
        .gift_share_add {
            margin-top: 20*@base;
            font-size: 22*@base;
            color: #666;
            line-height: 34*@base;
        }
    }
}

.confirm_btn {
    height: 86*@base;
    line-height: 86*@base;
    color: #fff;
    background: @theme_red;
    font-size: 30*@base;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.mini_btn {
    height: 70*@base;
    line-height: 70*@base;
    color: #fff;
    background: @theme_red;
    font-size: 28*@base;
    text-align: center;
    width: 240*@base;
    border-radius: 4*@base;
    margin: 0 auto;
}

.half_confirm_btn {
    height: 86*@base;
    line-height: 86*@base;
    color: #fff;
    background: #fff;
    font-size: 30*@base;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    border-top: @border_one_grey;
    color: #656565;
    .half_confirm_wrap {
        .basic_flex_item;
        -webkit-justify-content: space-between;
        justify-content: space-between;
    }
    .buy_btn {
        color: #fff;
        width: 50%;
        background: @theme_red;
        -webkit-justify-content: space-between;
        justify-content: space-between;
    }
    .red_span {
        color: @theme_red;
        font-size: 34*@base;
    }
    i {
        font-style: normal;
        &.tip {
            //color: #656565;
            font-size: 24*@base;
        }
    }
}

.receive_page {
    .gift_share_wrap {
        font-size: 28*@base;
        .gift_share_common {
            padding: 24*@base 34*@base;
            padding-bottom: 60*@base;
            background: #fff;
            border-radius: 6*@base;
            margin-bottom: 100*@base;
        }
        .gift_share {
            margin-bottom: 20*@base;
        }
        .share_top {
            .basic_flex_item;
            img {
                width: 70*@base;
                height: 70*@base;
                border-radius: 6*@base;
                margin-right: 20*@base;
            }
        }
        .gift_img {
            width: 100%;
            border-radius: 8*@base;
            border: @border_one_grey;
            img {
                width: 100%;
                height: auto;
            }
        }
        .gift_content {
            width: 100%;
            height: 296*@base;
            background-color: #fff;
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
            border: @border_one_grey;
            border-radius: 8*@base;
            position: relative;
            -webkit-box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.5);
            -moz-box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.5);
            box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.5);
            div {
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
                height: 76*@base;
                line-height: 76*@base;
                color: #fff;
                padding-left: 22*@base;
                letter-spacing: 0.05em;
                border-bottom-left-radius: 8*@base;
                border-bottom-right-radius: 8*@base;
                background: rgba(190, 1, 14, 0.7)
            }
        }
        .gift_words {
            .basic_flex_item;
            margin: 30*@base 0;
            -webkit-align-items: top;
            align-items: top;
            font-size: 22*@base;
            line-height: 34*@base;
            color: #494949;
            .right_wrap {
                width: 174*@base;
                -webkit-flex-shrink: 0;
                flex-shrink: 0;
                text-align: right;
                img {
                    width: 140*@base;
                    height: 140*@base;
                }
                p {
                    color: @theme_red;
                }
            }
        }
        .gift_share_add {
            margin-top: 20*@base;
            font-size: 22*@base;
            color: #494949;
            line-height: 34*@base;
        }
        .gift_detail {
            ul {
                li {
                    width: 100%;
                    height: 86*@base;
                    .basic_flex_item;
                    -webkit-justify-content: space-between;
                    justify-content: space-between;
                    border-bottom: @border_one_grey;
                    font-size: 28*@base;
                }
                .title {
                    color: #333;
                }
                .des {
                    color: #666;
                    font-size: 24*@base;
                    padding-right: 5*@base;
                }
                .red_span {
                    color: @theme_red;
                    font-size: 32*@base;
                    i {
                        font-style: normal;
                    }
                }
            }
        }
    }
}

.received_page {
    .received_congra {
        background: #fff;
        text-align: center;
        padding-top: 60*@base;
        font-size: 28*@base;
        img {
            width: 156*@base;
        }
        p {
            height: 180*@base;
            line-height: 180*@base;
        }
    }
    .received_thanks {
        margin-top: 70*@base;
        text-align: center;
        width: 100%;
    }
    .received_attention {
        margin-top: 200*@base;
        text-align: center;
        font-size: 26*@base;
        color: #666;
        img {
            width: 190*@base;
            height: 190*@base;
            margin-bottom: 0;
        }
        p {
            height: 66*@base;
            line-height: 66*@base;
            margin-bottom: 32*@base;
        }
    }
}

.received_page_v2 {
    padding: 30*@base;
    background-image: url(~assets/images/share_main.png);
		background-repeat: no-repeat;
		background-size: 100% 100%;
    min-height: 100vh;
    .main_wrap {
        position: relative;
        height: 100%;
        width: 100%;
        text-align: center;
        color: @theme_red;
        background-repeat: no-repeat; // background-position: top center;
        background-size: 100% 100%;
        .top_wrap {
            padding-top: 36*@base;
            img {
                height: 64*@base;
            }
            p {
                font-size: 24*@base;
                height: 66*@base;
                line-height: 66*@base;
            }
        }
        .dot_line_wrap {
            margin-top: 12*@base;
            ul {
                height: 14*@base;
                overflow: hidden;
                width: 120%;
                margin-left: -7*@base;
                li {
                    float: left;
                    width: 14*@base;
                    height: 14*@base;
                    background: #ca1b1a;
                    border-radius: 7*@base;
                    margin-right: 9*@base;
                }
            }
        }
        .gift_wrap {
            position: relative;
            margin-top: 50*@base;
            height: 12.5rem;
            background-repeat: no-repeat;
            background-position: top center;
            background-size: 85%;
            img {
                position: absolute;
                top: 190*@base;
                width: 220*@base;
                height: 220*@base;
                left: 166*@base;
            }
        }
        .word_wrap {
            font-size: 26*@base;
            color: #333;
        }
        .logo_wrap {
            position: absolute;
            bottom: 0;
            height: auto;
            left: 0;
            right: 0;
            font-size: 20*@base;
            img {
                height: 70*@base;
            }
            p {
                height: 70*@base;
                line-height: 70*@base;
                margin-top: -10*@base;
            }
        }
        .logo_wrap_v2 {
            font-size: 20*@base;
            margin-top: 1.25rem;
            img {
                height: 70*@base;
            }
            p {
                height: 70*@base;
                line-height: 70*@base;
                margin-top: -10*@base;
            }
        }
        @media screen and (max-height: 480px) {
            .logo_wrap_main {
                .basic_flex_item;
                -webkit-justify-content: center;
                justify-content: center;
                -webkit-align-items: center;
                align-items: center;
                img {
                    height: 40*@base;
                    margin: 20*@base;
                }
            }
        }
    }
}

.user_address_page {
    ul {
        background: #fff;
        margin-top: 20*@base;
        li {
            .basic_flex_item;
            height: 94*@base;
            border-bottom: @border_one_grey;
            padding: 0 30*@base;
            .left_wrap {
                width: 4rem;
                -webkit-flex-shrink: 0;
                flex-shrink: 0;
                font-size: 26*@base;
                color: #191919;
            }
            .right_wrap {
                color: #999;
                height: 100%;
                width: 100%;
                padding: 20*@base;
                padding-left: 0;
                input {
                    padding-left: 20*@base;
                    width: 100%;
                    line-height: 46*@base;
                    border: 0;
                    font-size: 26*@base;
                }
                div {
                    padding-left: 20*@base;
                    width: 100%;
                    line-height: 46*@base;
                    border: 0;
                    font-size: 26*@base;
                    color: #333;
                }
            }
        }
    }
}

.market_group_pagee {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: -webkit-flex;
    display: flex;
    overflow: hidden;
    .left_nav {
        -webkit-flex-shrink: 0;
        flex-shrink: 0;
        width: 144*@base;
        height: 100%;
        bottom: 0;
        overflow: hidden;
        ul {
            height: 1000px;
            width: 144*@base;
            li {
                float: left;
                width: 144*@base;
                text-align: center;
                height: 82*@base;
                line-height: 82*@base;
                font-size: 24*@base;
                border-bottom: 1px solid #e2e4e9;
                background: #eff1f6;
                color: #535656;
                margin: 0;
                &.active {
                    background: #fff;
                    color: @theme_red;
                }
            }
        }
    }
    .right_nav {
        position: absolute;
        right: 0;
        left: 144*@base;
        top: 0;
        bottom: 0;
        height: 100%;
        background-color: #fff;
        padding: 26*@base 20*@base;
        ul {
            li {
                float: left;
                width: 184*@base;
                text-align: center;
                margin: 0;
                padding: 0 5*@base;
                .img_wrap {
                    width: 100%;
                    height: 184*@base;
                    background: #f8f8f8;
                    .basic_flex_item;
                    img {
                        height: 160*@base;
                    }
                }
                .text_wrap {
                    height: 52*@base;
                    line-height: 52*@base;
                    font-size: 22*@base;
                    color: #737373;
                }
            }
        }
    }
}

.share_page {
    .gift_share_img {
        position: absolute;
        top: 156*@base;
        left: 0;
        right: 0;
        bottom: 144*@base;
        margin: 30*@base 36*@base;
        background-repeat: no-repeat;
        background-size: 50%;
        background-position: center 20%;
        img {
            width: 100%;
            height: auto;
            min-height: 14rem;
            border-radius: 8*@base;
            border: @border_two_grey;
        }
    }
}
.user_confirm_page{
    .address_wrap{
        .basic_flex_item;
        height: 200*@base;
        padding: 0 20*@base;
        background: #fff;
        margin-bottom: 18*@base;
        img.map_img{
            height: 78*@base;
            margin-right: 24*@base;
            &.map_img_mini{
                height: 30*@base;
            }
        }
        .open_img_wrap{
            width: 100%;
            .top_name{
                height: 60*@base;
                line-height: 60*@base; 
            }
        }
        img.open_img{
            height: 28*@base;
            float: right;
            mask-type: 0.05rem;
        }
    }
    .gift_list_wrap{
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: 218*@base;
        background: #fff;
    }
    
}
.list_address_page{
    background: #fff;
    .list_address_ul{
        height: auto;
        overflow: hidden;
        li{
            padding: 0 15*@base;
            padding-bottom: 20*@base;
            border-bottom: @border_one_grey;
            img{
                width: 26*@base;
                height: 26*@base;
            }
            .top_wrap{
                .basic_flex_item;
                height: 74*@base;
            }
            .bottom_wrap{
                padding-left: 50*@base;
                line-height: 40*@base;
            }
            .sel_img_wrap{
                width:  40*@base;
                text-align: center;
                img{
                    margin-top: 0.1rem;
                }
            }
            .name_wrap{
                margin-right: 38*@base;
                margin-left: 10*@base;
            }
        }
    }
}